const { no, ok } = require('../../utils/utlis');

const settingService = require('../../services/client/settingService');
module.exports = {
	// 文章分类列表  不等生活的
	list: async (req, res, next) => {
		try {
			let { id } = req.body;
			let obj = await settingService.list(id);
			res.send(ok(obj));
		} catch (error) {
			res.send(no(error.message));
		}
	}
};
